package com.HomeWorkhsp.chapter10.homework.homework02;

/**
 * Enjoy programming!!!
 * Time: 2021/12/10 -  15:03
 */
public class TestFrock {
    public static void main(String[] args) {
        System.out.println(Frock.getNextNum());
        System.out.println(Frock.getNextNum());

        Frock frock1 = new Frock();
        Frock frock2 = new Frock();
        Frock frock3 = new Frock();

        System.out.println("frock1=" + frock1.getSerialNumber());
        System.out.println("frock2=" + frock2.getSerialNumber());
        System.out.println("frock3=" + frock3.getSerialNumber());
    }
}
